package com.smxy.mall.service.impl;

import com.smxy.mall.dao.CarDao;
import com.smxy.mall.entity.Car;
import com.smxy.mall.service.BuyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class BuyServiceImpl implements BuyService {
    @Resource
    private CarDao carDao;

    @Override
    public Car save(Car car) {
        return carDao.save(car);
    }

}
